package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import pojo.Student;
public interface StudentMapper {
	public void increase(Student student);//增加学生信息
	/*
	 * @Param("name")String name,@Param("grade")String grade,@Param("major")String
	 * major,
	 * 
	 * @Param("contact")String contact,@Param("papernum")int papernum
	 */
	public void  delete(@Param("ID") int ID);//删除学生信息
	
	public Student  update(Student student);//修改学生信息
	
	public Student find(@Param("ID") int ID);//查看学生信息
	
	public Student findname(@Param("name")String name,@Param("grade")String grade,@Param("major")String major);//查看学生信息
	
	public List<Student> findstudentList(Student student);//查询所有学生信息
	
	public int studentcount(Student student);//学生数
	
	public void increasepapernum(int studentID);//增加论文数量
	
}
